<template>
  <div id="welcome">
    Welcome
    <div style="color:lightpink;
                font-family: 'Arial Rounded MT Bold',serif">
      {{user.username}}
    </div>
  </div>
</template>

<script>
export default {
  name: 'Welcome',
  data () {
    return {
      user: {}
    }
  },
  created () {
    this.user = JSON.parse(sessionStorage.getItem('user'))
  }
}
</script>

<style scoped>
#welcome {
  height: 100%;
  width: 100%;
  text-align: center;
  background: url("../assets/img_1.png") no-repeat;
  background-size: 100% 100%;
  font-size: 50px;
  font-family: Algerian,monospace;
  color: cornflowerblue;
}
</style>
